﻿using System;

namespace ConsoleApp1
{
    public  class Vehicle
    {
        public string Name { get; set; }
        public string Color { get; set; }
        public int  Wheels { get; set; }

        public virtual void Run()
        {
            if (Wheels >3)
            {
                System.Console.WriteLine("可以跑起来");
            }
            else
            {
                Console.WriteLine("需维修");
            }
        }

    }
}